<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='../../../../assets/comments.xslt'?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xml:lang="de-DE">
  <title>💬 <![CDATA['NSURLConnection gzip magic']]></title>
  <subtitle type="text">Marcus Rohrmoser mobile Software</subtitle>
  <updated>2017-11-30T15:14:42Z</updated>
  <link rel="alternate" type="text/html" href="https://blog.mro.name/2009/06/nsurlconnection-gzip-magic/#comments"/>
  <link rel="self" type="application/atom+xml" href="https://blog.mro.name/2009/06/nsurlconnection-gzip-magic/comments.xml"/>
  <id>https://blog.mro.name/2009/06/nsurlconnection-gzip-magic/comments.xml</id>
  <generator uri="https://wordpress.org/" version="4.9.9">WordPress</generator>
  <entry>
    <title>💬 <![CDATA['NSURLConnection gzip magic']]></title>
    <author>
      <name><![CDATA[NSUrlRequest: where an app can find the default headers for HTTP request? - Programmers Goodies]]></name>
      <uri>http://programmersgoodies.com/nsurlrequest-where-an-app-can-find-the-default-headers-for-http-request</uri>
    </author>
    <id>https://blog.mro.name/?p=1064#comment-21962</id>
    <updated>2011-10-12T00:20:36Z</updated>
    <content type="text"><![CDATA[[…] NSURL and then asking: [request allHTTPHeaderFields] returns an empty dictionary. But I know that for example “Accept-Encoding” is set to “gzip”. So I want to get all […]]]></content>
    <thr:in-reply-to ref="https://blog.mro.name/?p=1064" href="https://blog.mro.name/2009/06/nsurlconnection-gzip-magic/" type="text/html"/>
  </entry>
  <entry>
    <title>💬 <![CDATA['NSURLConnection gzip magic']]></title>
    <author>
      <name><![CDATA[Marcus Rohrmoser]]></name>
      <uri>https://blog.mro.name/</uri>
    </author>
    <id>https://blog.mro.name/?p=1064#comment-21605</id>
    <updated>2011-09-16T08:29:26Z</updated>
    <content type="text"><![CDATA[you're absolutely right, but relying on default settings can hit you at times.]]></content>
  </entry>
  <entry>
    <title>💬 <![CDATA['NSURLConnection gzip magic']]></title>
    <author>
      <name><![CDATA[Nik]]></name>
    </author>
    <id>https://blog.mro.name/?p=1064#comment-21593</id>
    <updated>2011-09-15T07:13:25Z</updated>
    <content type="text"><![CDATA[None of this is required. I just did a test, NSMutableURLRequest sets the accept gzip header automatically.
This happens somewhere deep in the framework — all responses are gzipped if the server supports it. 
Since it's set automatically by iOS, I would not set it explicitly either — after all, it's possible older iOS versions don't support gzip responses. Just let iOS do it.]]></content>
    <thr:in-reply-to ref="https://blog.mro.name/?p=1064" href="https://blog.mro.name/2009/06/nsurlconnection-gzip-magic/" type="text/html"/>
  </entry>
</feed>
